Position Config
Position Config
Content copied to clipboard
meshtastic.Config.PositionConfig
Types
Link copied to clipboard
Position Config
Content copied to clipboard
meshtastic.Config.PositionConfig
Link copied to clipboard
Bit field of boolean configuration options, indicating which optional
fields to include when assembling POSITION messages.
Longitude, latitude, altitude, speed, heading, and DOP
are always included (also time if GPS-synced)
NOTE: the more fields are included, the larger the message will be -
leading to longer airtime and a higher risk of packet loss
Content copied to clipboard
meshtastic.Config.PositionConfig.PositionFlags
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
inline fun ConfigProtos.Config.PositionConfig.copy(block: ConfigKt.PositionConfigKt.Dsl.() -> Unit): ConfigProtos.Config.PositionConfig
inline fun ConfigProtos.Config.PositionConfig.copy(block: ConfigKt.PositionConfigKt.Dsl.() -> Unit): ConfigProtos.Config.PositionConfig
inline fun ConfigProtos.Config.PositionConfig.copy(block: ConfigKt.PositionConfigKt.Dsl.() -> Unit): ConfigProtos.Config.PositionConfig
inline fun ConfigProtos.Config.PositionConfig.copy(block: ConfigKt.PositionConfigKt.Dsl.() -> Unit): ConfigProtos.Config.PositionConfig
Link copied to clipboard
The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
Content copied to clipboard
uint32 broadcast_smart_minimum_distance = 10;
Link copied to clipboard
The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
Content copied to clipboard
uint32 broadcast_smart_minimum_interval_secs = 11;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If set, this node is at a fixed position.
We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
The lat/lon/alt can be set by an internal GPS or with the help of the app.
Content copied to clipboard
bool fixed_position = 3;
Link copied to clipboard
Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
Content copied to clipboard
uint32 gps_attempt_time = 6 [deprecated = true];
Link copied to clipboard
Is GPS enabled for this node?
Content copied to clipboard
bool gps_enabled = 4 [deprecated = true];
Link copied to clipboard
(Re)define PIN_GPS_EN for your board.
Content copied to clipboard
uint32 gps_en_gpio = 12;
Link copied to clipboard
Set where GPS is enabled, disabled, or not present
Content copied to clipboard
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard
Set where GPS is enabled, disabled, or not present
Content copied to clipboard
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard
How often should we try to get GPS position (in seconds)
or zero for the default of once every 30 seconds
or a very large value (maxint) to update only once at boot.
Content copied to clipboard
uint32 gps_update_interval = 5;
Link copied to clipboard
Link copied to clipboard
We should send our position this often (but only if it has changed significantly)
Defaults to 15 minutes
Content copied to clipboard
uint32 position_broadcast_secs = 1;
Link copied to clipboard
Adaptive position braoadcast, which is now the default.
Content copied to clipboard
bool position_broadcast_smart_enabled = 2;
Link copied to clipboard
Bit field of boolean configuration options for POSITION messages
(bitwise OR of PositionFlags)
Content copied to clipboard
uint32 position_flags = 7;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun newBuilder(prototype: ConfigProtos.Config.PositionConfig): ConfigProtos.Config.PositionConfig.Builder
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig
Link copied to clipboard
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig
Link copied to clipboard
Link copied to clipboard